package com.ebai.product.management.base.utils;

public class SysCode {
	
	
    /**
     * 操作状态
     */
    public static interface STATUS {
    	/** 正常状态 */
        public static final String NORMAL = "0";
        /** 异常状态 */
        public static final String EXCEPTION = "1";
    }

	public static interface DEFAULT_USER {
		public final static String DEFAULT_SA = "sadmin";
		public final static String PASSWORD = "ahebai100";
		public final static String SALT = "Txx";
		public final static String MD5_DEF_SALT = "B59D2D1298E900101F35FDDDD3FD4C66";
		public final static String SADMIN_ROLE = "INTERNAL";
		public final static String DICT_PARENT_ID = "000000";
	}

	/**
	 * 通用类型：排序{正序=ASC,反序=DESC}
	 */
	public static interface COMMON_SORT {
		public final static String ASC = "asc";
		public final static String DESC = "desc";
	}

	/**
	 * 字典类型：字典根ID
	 */
	public static interface DICT_ID {
		public final static String ROOT = "000000";
	}

	/**
	 * 字典类型：默认字典类型{分类=CLASS,子项=ITEM}
	 */
	public static interface DICT_TYPE {
		public final static String PARENT = "CLASS";
		public final static String CHILD = "ITEM";
	}

	/**
	 * 字典类型：权限类型{模块=MODULE,菜单=MENU,地址=URL,按钮=BUTTON}
	 */
	public static interface DICT_AUTH_TYPE {
		public final static String MODULE = "MODULE";
		public final static String MENU = "MENU";
		public final static String URL = "URL";
		public final static String BUTTON = "BUTTON";
	}

	/**
	 * 字典类型：角色类型{内置=INTERNAL,自定义=CUSTOM}
	 */
	public static interface DICT_ROLE_TYPE {
		public final static String INTERNAL = "INTERNAL";
		public final static String CUSTOM = "CUSTOM";
	}

	/**
	 * 字典类型：通用的是否{是=1,否=0}
	 */
	public static interface DICT_TYSF {
		public final static String YES = "1";
		public final static String NO = "0";
	}
}
